package cn.iocoder.yudao.module.student.dal.mysql.studentEntryInfo;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.student.controller.app.studentEntryInfo.vo.StudentEntryChosenVO;
import cn.iocoder.yudao.module.student.controller.app.studentEntryInfo.vo.StudentEntryInfoRespVO;
import cn.iocoder.yudao.module.student.controller.app.studentEntryInfo.vo.StudentResultVO;
import cn.iocoder.yudao.module.student.dal.dataobject.studentEntryInfo.StudentEntryInfoDO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 项目报名信息 Mapper
 *
 * @author 管理员
 */
@Mapper
public interface StudentEntryInfoMapper extends BaseMapperX<StudentEntryInfoDO> {

    List<StudentEntryInfoRespVO> getPraxisEntryInfoPage(IPage page, @Param("params") Map<String, Object> params);

    List<StudentEntryInfoRespVO> getSchedulePage(IPage page, @Param("params") Map<String, Object> params);


    Long getPraxisStudentNum(@Param("projectId") Long projectId,@Param("studentId") Long studentId);

    StudentEntryChosenVO getEntryChosenInfo(@Param("id")Long id);
    StudentResultVO getResultInfoByProjectId(@Param("projectId")Long projectId);
    StudentEntryInfoRespVO getStudentEntryInfo(@Param("id")Long id);

    Long getScheduleByEntryId(@Param("entryId") Long entryId,@Param("queryType") Integer queryType );
}
